package com.financial.service.yspay.service.impl;

import com.financial.service.yspay.dao.FinancialYsPayReceiptWechatpayDao;
import com.financial.service.yspay.domain.FinancialYsPayReceiptWechatpayDO;
import com.financial.service.yspay.service.FinancialYsPayReceiptWechatpayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class FinancialYsPayReceiptWechatpayServiceImpl implements FinancialYsPayReceiptWechatpayService {
    @Autowired
    private FinancialYsPayReceiptWechatpayDao ysReceiptWechatpayDao;

    @Override
    public FinancialYsPayReceiptWechatpayDO get(Integer id) {
        return ysReceiptWechatpayDao.get(id);
    }

    @Override
    public List<FinancialYsPayReceiptWechatpayDO> list(Map<String, Object> map) {
        return ysReceiptWechatpayDao.list(map);
    }

    @Override
    public int count(Map<String, Object> map) {
        return ysReceiptWechatpayDao.count(map);
    }

    @Override
    public int save(FinancialYsPayReceiptWechatpayDO ysReceiptWechatpay) {
        return ysReceiptWechatpayDao.save(ysReceiptWechatpay);
    }

    @Override
    public int update(FinancialYsPayReceiptWechatpayDO ysReceiptWechatpay) {
        return ysReceiptWechatpayDao.update(ysReceiptWechatpay);
    }

    @Override
    public int remove(Integer id) {
        return ysReceiptWechatpayDao.remove(id);
    }

    @Override
    public int batchRemove(Integer[] ids) {
        return ysReceiptWechatpayDao.batchRemove(ids);
    }

}
